﻿@model MVCDemo.Models.SysUser
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Delete</title>
</head>
<body>
    <div> 
        <h2>Delete</h2>
        <h3>Are you sure you want to delete this?</h3>
        <h4>User</h4>
        <dl>
            <dt>@Html.DisplayNameFor(model=>model.UserName)</dt>
            <dd>@Html.DisplayFor(model=>model.UserName)</dd>
            <dt>@Html.DisplayNameFor(model=>model.Email)</dt>
            <dd>@Html.DisplayFor(model=>model.Email)</dd>
        </dl>
        @using (Html.BeginForm())
        {
            <div>
                <input type="submit" value="Delete" />
            </div>
        }
        <div>
            @Html.ActionLink("Back To List","Index")
        </div>
    </div>
</body>
</html>
